package com.wz.project.bas.workShop.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="bas_workshop")
public class BasWorkShop {

    @Id
    @Column(name="workshop_id")
    private String workshop_id;

    @Column(name="workshop_no")
    private String workshop_no;

    @Column(name="factory_id")
    private String factory_id;

    @Column(name="workshop_name")
    private String workshop_name;

    @Column(name="is_current")
    private String is_current;

    @Column(name="remark")
    private String remark;

    public String getWorkshop_id() {
        return workshop_id;
    }

    public void setWorkshop_id(String workshop_id) {
        this.workshop_id = workshop_id;
    }

    public String getWorkshop_no() {
        return workshop_no;
    }

    public void setWorkshop_no(String workshop_no) {
        this.workshop_no = workshop_no;
    }

    public String getFactory_id() {
        return factory_id;
    }

    public void setFactory_id(String factory_id) {
        this.factory_id = factory_id;
    }

    public String getWorkshop_name() {
        return workshop_name;
    }

    public void setWorkshop_name(String workshop_name) {
        this.workshop_name = workshop_name;
    }

    public String getIs_current() {
        return is_current;
    }

    public void setIs_current(String is_current) {
        this.is_current = is_current;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "BasWorkShop{" +
                "workshop_id='" + workshop_id + '\'' +
                ", workshop_no='" + workshop_no + '\'' +
                ", factory_id='" + factory_id + '\'' +
                ", workshop_name='" + workshop_name + '\'' +
                ", is_current='" + is_current + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
